package com.practice.springboot_01_zwj.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class ConditionRequest {
    private String cityCode;
    private String provinceCode;
    private IncomeQuestion condition = new IncomeQuestion(); // 关键：初始化默认值
    private PageRequest pageRequest = new PageRequest();
    private ThreeHundred hundred = new ThreeHundred(); // 关键：初始化默认值
    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode;
    }

    public ThreeHundred getHundred() {
        return hundred;
    }

    public void setHundred(ThreeHundred hundred) {
        this.hundred = hundred;
    }



    public IncomeQuestion getCondition() {
        return condition;
    }

    public void setCondition(IncomeQuestion condition) {
        this.condition = condition;
    }

    public PageRequest getPageRequest() {
        return pageRequest;
    }

    public void setPageRequest(PageRequest pageRequest) {
        this.pageRequest = pageRequest;
    }
}
